﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:08
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;


namespace Portal
{

    [Serializable]
    public partial class Advertisement:Entity,IAdvertisement
    {   
    
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        public virtual string Name {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Code'字符过长")]
        public virtual string Code {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'CategoryId'字符过长")]
        public virtual string CategoryId {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Url'字符过长")]
        public virtual string Url {get;set;}
        
    
    
        public virtual string Description {get;set;}
        
    
    
        public virtual long Sort {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        public virtual string Culture {get;set;}
        
    }
   }



